package com.yanfan.passengerFlow.domain;

import java.util.Date;

import lombok.Data;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 人员的出入信息对象 ibms_passenger_flow_statistics_logs
 *
 * @author genluo
 * @date 2024-08-26
 */

@Data
public class IbmsPassengerFlowStatisticsLogs implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * 记录唯一标识
     */
    @Excel(name = "记录唯一标识")
    @TableId(value = "log_id" , type = IdType.AUTO) // 整型类型使用自增
    private Long logId;

    /**
     * 设备唯一标识
     */
    @Excel(name = "设备唯一标识")
    private Long deviceId;

    /**
     * 人员标识
     */
    @Excel(name = "人员标识")
    private Long personId;

    /**
     * 进入时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "进入时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date entryTime;

    /**
     * 离开时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "离开时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date exitTime;

    /**
     * 记录创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;


}
